package com.example.demo.service;

import com.example.demo.pojo.Record;
import com.example.demo.pojo.User;
import com.example.demo.utils.AbsentUser;

import java.util.List;

public interface AdminService {
    List<Record> selectAllRecord();
    List<AbsentUser> selectAbsentUser();
    int addUser(User user);
    int makeUserOn(int Uid);
    int makeUserOff(int Uid);
    int updateUser(User user);
    String AdminLogin(String Aid);
    List<User> selectAllUser();
}
